﻿using JESAI.Application.Abstractions.Admin.Dtos.Api;
using JESAI.Application.Abstractions.Admin.Dtos.Menu;
using JESAI.Application.Abstractions.Dtos.Menu;
using JESAI.Core.Util.Helpers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JESAI.Application.Abstractions.Admin
{
    public interface IMenuService
    {
        List<MenuDto> QueryAllMenus(QueryAllMenusInput input);
        List<MenuTreeDto> QueryAllMenuTrees(QueryAllMenusInput input);
        void UpdateOrInsert(SetMenuInput input);
        List<MenuDto> QueryMenusByPlatformIdAndUserId(int platformId, long userId);
        List<MenuDto> QueryUserPageBtns(QueryUserPageBtnInput input);
        List<MenuDto> QueryUserPageLinkBtns(QueryUserPageBtnInput input);
    }
}
